#pragma once
#include "feDefs.h"
#include "feInterpolation.h"

class feMeshFunction;

template<class T> class fePolyline;

//------------------------------------------------------------------------------------------------------------------------------
class fePolylineGenerator
{

public:
	fePolyline<float> CreatePolylineFuncLayer(feMeshFunction *iMeshFunc, int iLayerNum);
	fePolyline<float> CreatePolylineFromArray(double *iX, double *iF, int iCount, double iStepX);
	bool			  SavePolylineToFile(fePolyline<float> *iPolyline, char *iFileName);
	bool			  SavePolylineToFile(fePolyline<double> *iPolyline, char *iFileName);
};
